//
//  CHSectionViewCell.m
//  CarFile
//
//  Created by 陈浩 on 2017/4/7.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import "CHSectionViewCell.h"
@interface CHSectionViewCell ()



@end
@implementation CHSectionViewCell

-(id)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.layer.cornerRadius = 5;
        self.layer.masksToBounds = YES;
        self.layer.borderWidth = 0.7;
        self.layer.borderColor = [UIColor colorWithHexString:@"148ec7" alpha:1.0f].CGColor;
        [self setUI];
    }
    return self;
    
}

-(void)setUI{
    
    UILabel *label = [[UILabel alloc] initWithFrame:self.bounds];
    label.textAlignment = NSTextAlignmentCenter;
    label.font = Font(14);
    label.textColor = [UIColor colorWithHexString:@"148ec7" alpha:1.0f];
    [self.contentView addSubview:label];
    self.label = label;
    
    
}


-(void)setIsSelected:(BOOL)isSelected{
    _isSelected = isSelected;
}


@end
